package com.crm.model.entity.customerManager;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class CustomerPayExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerPayExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andChsCustomerPayIdIsNull() {
            addCriterion("chs_customer_pay_id is null");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdIsNotNull() {
            addCriterion("chs_customer_pay_id is not null");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdEqualTo(String value) {
            addCriterion("chs_customer_pay_id =", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdNotEqualTo(String value) {
            addCriterion("chs_customer_pay_id <>", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdGreaterThan(String value) {
            addCriterion("chs_customer_pay_id >", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdGreaterThanOrEqualTo(String value) {
            addCriterion("chs_customer_pay_id >=", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdLessThan(String value) {
            addCriterion("chs_customer_pay_id <", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdLessThanOrEqualTo(String value) {
            addCriterion("chs_customer_pay_id <=", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdLike(String value) {
            addCriterion("chs_customer_pay_id like", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdNotLike(String value) {
            addCriterion("chs_customer_pay_id not like", value, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdIn(List<String> values) {
            addCriterion("chs_customer_pay_id in", values, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdNotIn(List<String> values) {
            addCriterion("chs_customer_pay_id not in", values, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdBetween(String value1, String value2) {
            addCriterion("chs_customer_pay_id between", value1, value2, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andChsCustomerPayIdNotBetween(String value1, String value2) {
            addCriterion("chs_customer_pay_id not between", value1, value2, "chsCustomerPayId");
            return (Criteria) this;
        }

        public Criteria andPayNumberIsNull() {
            addCriterion("pay_number is null");
            return (Criteria) this;
        }

        public Criteria andPayNumberIsNotNull() {
            addCriterion("pay_number is not null");
            return (Criteria) this;
        }

        public Criteria andPayNumberEqualTo(String value) {
            addCriterion("pay_number =", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberNotEqualTo(String value) {
            addCriterion("pay_number <>", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberGreaterThan(String value) {
            addCriterion("pay_number >", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberGreaterThanOrEqualTo(String value) {
            addCriterion("pay_number >=", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberLessThan(String value) {
            addCriterion("pay_number <", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberLessThanOrEqualTo(String value) {
            addCriterion("pay_number <=", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberLike(String value) {
            addCriterion("pay_number like", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberNotLike(String value) {
            addCriterion("pay_number not like", value, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberIn(List<String> values) {
            addCriterion("pay_number in", values, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberNotIn(List<String> values) {
            addCriterion("pay_number not in", values, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberBetween(String value1, String value2) {
            addCriterion("pay_number between", value1, value2, "payNumber");
            return (Criteria) this;
        }

        public Criteria andPayNumberNotBetween(String value1, String value2) {
            addCriterion("pay_number not between", value1, value2, "payNumber");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(String value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(String value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(String value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(String value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLike(String value) {
            addCriterion("customer_id like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotLike(String value) {
            addCriterion("customer_id not like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<String> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<String> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(String value1, String value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(String value1, String value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNull() {
            addCriterion("pay_money is null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNotNull() {
            addCriterion("pay_money is not null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyEqualTo(BigDecimal value) {
            addCriterion("pay_money =", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotEqualTo(BigDecimal value) {
            addCriterion("pay_money <>", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThan(BigDecimal value) {
            addCriterion("pay_money >", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_money >=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThan(BigDecimal value) {
            addCriterion("pay_money <", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("pay_money <=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIn(List<BigDecimal> values) {
            addCriterion("pay_money in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotIn(List<BigDecimal> values) {
            addCriterion("pay_money not in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_money between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("pay_money not between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Integer value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Integer value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Integer value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Integer value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Integer> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Integer> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Integer value1, Integer value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("pay_status is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("pay_status is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(Integer value) {
            addCriterion("pay_status =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(Integer value) {
            addCriterion("pay_status <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(Integer value) {
            addCriterion("pay_status >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_status >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(Integer value) {
            addCriterion("pay_status <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pay_status <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<Integer> values) {
            addCriterion("pay_status in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<Integer> values) {
            addCriterion("pay_status not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(Integer value1, Integer value2) {
            addCriterion("pay_status between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_status not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeIsNull() {
            addCriterion("arrive_account_type is null");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeIsNotNull() {
            addCriterion("arrive_account_type is not null");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeEqualTo(Integer value) {
            addCriterion("arrive_account_type =", value, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeNotEqualTo(Integer value) {
            addCriterion("arrive_account_type <>", value, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeGreaterThan(Integer value) {
            addCriterion("arrive_account_type >", value, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("arrive_account_type >=", value, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeLessThan(Integer value) {
            addCriterion("arrive_account_type <", value, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeLessThanOrEqualTo(Integer value) {
            addCriterion("arrive_account_type <=", value, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeIn(List<Integer> values) {
            addCriterion("arrive_account_type in", values, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeNotIn(List<Integer> values) {
            addCriterion("arrive_account_type not in", values, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeBetween(Integer value1, Integer value2) {
            addCriterion("arrive_account_type between", value1, value2, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveAccountTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("arrive_account_type not between", value1, value2, "arriveAccountType");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameIsNull() {
            addCriterion("arrive_unit_name is null");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameIsNotNull() {
            addCriterion("arrive_unit_name is not null");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameEqualTo(String value) {
            addCriterion("arrive_unit_name =", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotEqualTo(String value) {
            addCriterion("arrive_unit_name <>", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameGreaterThan(String value) {
            addCriterion("arrive_unit_name >", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameGreaterThanOrEqualTo(String value) {
            addCriterion("arrive_unit_name >=", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameLessThan(String value) {
            addCriterion("arrive_unit_name <", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameLessThanOrEqualTo(String value) {
            addCriterion("arrive_unit_name <=", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameLike(String value) {
            addCriterion("arrive_unit_name like", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotLike(String value) {
            addCriterion("arrive_unit_name not like", value, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameIn(List<String> values) {
            addCriterion("arrive_unit_name in", values, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotIn(List<String> values) {
            addCriterion("arrive_unit_name not in", values, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameBetween(String value1, String value2) {
            addCriterion("arrive_unit_name between", value1, value2, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andArriveUnitNameNotBetween(String value1, String value2) {
            addCriterion("arrive_unit_name not between", value1, value2, "arriveUnitName");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitIsNull() {
            addCriterion("payment_unit is null");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitIsNotNull() {
            addCriterion("payment_unit is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitEqualTo(String value) {
            addCriterion("payment_unit =", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotEqualTo(String value) {
            addCriterion("payment_unit <>", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitGreaterThan(String value) {
            addCriterion("payment_unit >", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitGreaterThanOrEqualTo(String value) {
            addCriterion("payment_unit >=", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitLessThan(String value) {
            addCriterion("payment_unit <", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitLessThanOrEqualTo(String value) {
            addCriterion("payment_unit <=", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitLike(String value) {
            addCriterion("payment_unit like", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotLike(String value) {
            addCriterion("payment_unit not like", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitIn(List<String> values) {
            addCriterion("payment_unit in", values, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotIn(List<String> values) {
            addCriterion("payment_unit not in", values, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitBetween(String value1, String value2) {
            addCriterion("payment_unit between", value1, value2, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotBetween(String value1, String value2) {
            addCriterion("payment_unit not between", value1, value2, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentDateIsNull() {
            addCriterion("payment_date is null");
            return (Criteria) this;
        }

        public Criteria andPaymentDateIsNotNull() {
            addCriterion("payment_date is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentDateEqualTo(Date value) {
            addCriterion("payment_date =", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateNotEqualTo(Date value) {
            addCriterion("payment_date <>", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateGreaterThan(Date value) {
            addCriterion("payment_date >", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateGreaterThanOrEqualTo(Date value) {
            addCriterion("payment_date >=", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateLessThan(Date value) {
            addCriterion("payment_date <", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateLessThanOrEqualTo(Date value) {
            addCriterion("payment_date <=", value, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateIn(List<Date> values) {
            addCriterion("payment_date in", values, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateNotIn(List<Date> values) {
            addCriterion("payment_date not in", values, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateBetween(Date value1, Date value2) {
            addCriterion("payment_date between", value1, value2, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentDateNotBetween(Date value1, Date value2) {
            addCriterion("payment_date not between", value1, value2, "paymentDate");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountIsNull() {
            addCriterion("payment_account is null");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountIsNotNull() {
            addCriterion("payment_account is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountEqualTo(String value) {
            addCriterion("payment_account =", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotEqualTo(String value) {
            addCriterion("payment_account <>", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountGreaterThan(String value) {
            addCriterion("payment_account >", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountGreaterThanOrEqualTo(String value) {
            addCriterion("payment_account >=", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountLessThan(String value) {
            addCriterion("payment_account <", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountLessThanOrEqualTo(String value) {
            addCriterion("payment_account <=", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountLike(String value) {
            addCriterion("payment_account like", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotLike(String value) {
            addCriterion("payment_account not like", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountIn(List<String> values) {
            addCriterion("payment_account in", values, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotIn(List<String> values) {
            addCriterion("payment_account not in", values, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountBetween(String value1, String value2) {
            addCriterion("payment_account between", value1, value2, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotBetween(String value1, String value2) {
            addCriterion("payment_account not between", value1, value2, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentBankIsNull() {
            addCriterion("payment_bank is null");
            return (Criteria) this;
        }

        public Criteria andPaymentBankIsNotNull() {
            addCriterion("payment_bank is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentBankEqualTo(String value) {
            addCriterion("payment_bank =", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankNotEqualTo(String value) {
            addCriterion("payment_bank <>", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankGreaterThan(String value) {
            addCriterion("payment_bank >", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankGreaterThanOrEqualTo(String value) {
            addCriterion("payment_bank >=", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankLessThan(String value) {
            addCriterion("payment_bank <", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankLessThanOrEqualTo(String value) {
            addCriterion("payment_bank <=", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankLike(String value) {
            addCriterion("payment_bank like", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankNotLike(String value) {
            addCriterion("payment_bank not like", value, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankIn(List<String> values) {
            addCriterion("payment_bank in", values, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankNotIn(List<String> values) {
            addCriterion("payment_bank not in", values, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankBetween(String value1, String value2) {
            addCriterion("payment_bank between", value1, value2, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentBankNotBetween(String value1, String value2) {
            addCriterion("payment_bank not between", value1, value2, "paymentBank");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialIsNull() {
            addCriterion("payment_serial is null");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialIsNotNull() {
            addCriterion("payment_serial is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialEqualTo(String value) {
            addCriterion("payment_serial =", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialNotEqualTo(String value) {
            addCriterion("payment_serial <>", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialGreaterThan(String value) {
            addCriterion("payment_serial >", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialGreaterThanOrEqualTo(String value) {
            addCriterion("payment_serial >=", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialLessThan(String value) {
            addCriterion("payment_serial <", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialLessThanOrEqualTo(String value) {
            addCriterion("payment_serial <=", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialLike(String value) {
            addCriterion("payment_serial like", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialNotLike(String value) {
            addCriterion("payment_serial not like", value, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialIn(List<String> values) {
            addCriterion("payment_serial in", values, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialNotIn(List<String> values) {
            addCriterion("payment_serial not in", values, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialBetween(String value1, String value2) {
            addCriterion("payment_serial between", value1, value2, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andPaymentSerialNotBetween(String value1, String value2) {
            addCriterion("payment_serial not between", value1, value2, "paymentSerial");
            return (Criteria) this;
        }

        public Criteria andArriveMethodIsNull() {
            addCriterion("arrive_method is null");
            return (Criteria) this;
        }

        public Criteria andArriveMethodIsNotNull() {
            addCriterion("arrive_method is not null");
            return (Criteria) this;
        }

        public Criteria andArriveMethodEqualTo(Integer value) {
            addCriterion("arrive_method =", value, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodNotEqualTo(Integer value) {
            addCriterion("arrive_method <>", value, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodGreaterThan(Integer value) {
            addCriterion("arrive_method >", value, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodGreaterThanOrEqualTo(Integer value) {
            addCriterion("arrive_method >=", value, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodLessThan(Integer value) {
            addCriterion("arrive_method <", value, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodLessThanOrEqualTo(Integer value) {
            addCriterion("arrive_method <=", value, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodIn(List<Integer> values) {
            addCriterion("arrive_method in", values, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodNotIn(List<Integer> values) {
            addCriterion("arrive_method not in", values, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodBetween(Integer value1, Integer value2) {
            addCriterion("arrive_method between", value1, value2, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andArriveMethodNotBetween(Integer value1, Integer value2) {
            addCriterion("arrive_method not between", value1, value2, "arriveMethod");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusIsNull() {
            addCriterion("royalty_status is null");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusIsNotNull() {
            addCriterion("royalty_status is not null");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusEqualTo(Integer value) {
            addCriterion("royalty_status =", value, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusNotEqualTo(Integer value) {
            addCriterion("royalty_status <>", value, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusGreaterThan(Integer value) {
            addCriterion("royalty_status >", value, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("royalty_status >=", value, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusLessThan(Integer value) {
            addCriterion("royalty_status <", value, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusLessThanOrEqualTo(Integer value) {
            addCriterion("royalty_status <=", value, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusIn(List<Integer> values) {
            addCriterion("royalty_status in", values, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusNotIn(List<Integer> values) {
            addCriterion("royalty_status not in", values, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusBetween(Integer value1, Integer value2) {
            addCriterion("royalty_status between", value1, value2, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("royalty_status not between", value1, value2, "royaltyStatus");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyIsNull() {
            addCriterion("royalty_money is null");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyIsNotNull() {
            addCriterion("royalty_money is not null");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyEqualTo(BigDecimal value) {
            addCriterion("royalty_money =", value, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyNotEqualTo(BigDecimal value) {
            addCriterion("royalty_money <>", value, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyGreaterThan(BigDecimal value) {
            addCriterion("royalty_money >", value, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("royalty_money >=", value, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyLessThan(BigDecimal value) {
            addCriterion("royalty_money <", value, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("royalty_money <=", value, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyIn(List<BigDecimal> values) {
            addCriterion("royalty_money in", values, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyNotIn(List<BigDecimal> values) {
            addCriterion("royalty_money not in", values, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("royalty_money between", value1, value2, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("royalty_money not between", value1, value2, "royaltyMoney");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeIsNull() {
            addCriterion("royalty_record_time is null");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeIsNotNull() {
            addCriterion("royalty_record_time is not null");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeEqualTo(Date value) {
            addCriterionForJDBCDate("royalty_record_time =", value, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("royalty_record_time <>", value, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("royalty_record_time >", value, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("royalty_record_time >=", value, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeLessThan(Date value) {
            addCriterionForJDBCDate("royalty_record_time <", value, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("royalty_record_time <=", value, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeIn(List<Date> values) {
            addCriterionForJDBCDate("royalty_record_time in", values, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("royalty_record_time not in", values, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("royalty_record_time between", value1, value2, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andRoyaltyRecordTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("royalty_record_time not between", value1, value2, "royaltyRecordTime");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdIsNull() {
            addCriterion("finance_account_id is null");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdIsNotNull() {
            addCriterion("finance_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdEqualTo(String value) {
            addCriterion("finance_account_id =", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdNotEqualTo(String value) {
            addCriterion("finance_account_id <>", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdGreaterThan(String value) {
            addCriterion("finance_account_id >", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("finance_account_id >=", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdLessThan(String value) {
            addCriterion("finance_account_id <", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdLessThanOrEqualTo(String value) {
            addCriterion("finance_account_id <=", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdLike(String value) {
            addCriterion("finance_account_id like", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdNotLike(String value) {
            addCriterion("finance_account_id not like", value, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdIn(List<String> values) {
            addCriterion("finance_account_id in", values, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdNotIn(List<String> values) {
            addCriterion("finance_account_id not in", values, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdBetween(String value1, String value2) {
            addCriterion("finance_account_id between", value1, value2, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andFinanceAccountIdNotBetween(String value1, String value2) {
            addCriterion("finance_account_id not between", value1, value2, "financeAccountId");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Integer value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Integer value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Integer value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Integer value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Integer> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Integer> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andExamStateIsNull() {
            addCriterion("exam_state is null");
            return (Criteria) this;
        }

        public Criteria andExamStateIsNotNull() {
            addCriterion("exam_state is not null");
            return (Criteria) this;
        }

        public Criteria andExamStateEqualTo(Integer value) {
            addCriterion("exam_state =", value, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateNotEqualTo(Integer value) {
            addCriterion("exam_state <>", value, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateGreaterThan(Integer value) {
            addCriterion("exam_state >", value, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("exam_state >=", value, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateLessThan(Integer value) {
            addCriterion("exam_state <", value, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateLessThanOrEqualTo(Integer value) {
            addCriterion("exam_state <=", value, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateIn(List<Integer> values) {
            addCriterion("exam_state in", values, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateNotIn(List<Integer> values) {
            addCriterion("exam_state not in", values, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateBetween(Integer value1, Integer value2) {
            addCriterion("exam_state between", value1, value2, "examState");
            return (Criteria) this;
        }

        public Criteria andExamStateNotBetween(Integer value1, Integer value2) {
            addCriterion("exam_state not between", value1, value2, "examState");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}